/*
	This file is part of PropExtractor.

	AliceDecrypt is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	AliceDecrypt is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with PropExtractor. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef _PEALICESOFTIMAGE_H_
#define _PEALICESOFTIMAGE_H_

#include "PEIncludes.h"

#include "PEFile.h"
#include "PEImage.h"

namespace pe
{

	struct AliceImageHeader
	{
		byte header[3];
		byte unknown1[17];
		dword width;
		dword height;
		dword bpp;
		byte unknown2[36];
	};

	int AliceImageReadHeader(AliceImageHeader* a_Header, PEFile* a_File);
	int AliceImageDecompress(PEImageRaw* a_Target, AliceImageHeader* a_Header, PEFile* a_File);

}; // namespace pe

#endif